﻿using Dropit.Extension.Core;

namespace SocialPack.Composer.Extensions
{
    public static class ComposerExtensions
    {
        public static bool IsValue(this ContentFunctionData contentFunctionData, string propertyName)
        {
            return contentFunctionData.Property[propertyName] != null && !contentFunctionData.Property[propertyName].IsNull;
        }
    }
}